{% extends "UserBundle::layout.html.twig" %}

{% trans_default_domain 'FOSUserBundle' %}


{% block header %}
    {{ parent() }}

	<div class="twelve columns">
		<div class="row">
			<div class="formulario custom five columns form-wrapper">
				<div>
					<br><br><br>
					<p class="lead">
						<i class="icon-exclamation"></i> 
						Felicidades {{user.nombre}}, tu cuenta está ahora confirmada.<br><br>
					
						{% if app.session is not empty %}
							{% set targetUrl = app.session.get('_security.' ~ app.security.token.providerKey ~ '.target_path') %}
							{% if targetUrl is not empty %}<a class="button" href="{{ targetUrl }}">Continuar...</a>{% endif %}
						{% endif %}

						{% if is_granted('ROLE_USER') %}
							<a class="button" href="{{ url('user_perfil') }}">Editar mi perfil...</a>
						{% endif %}
					</p>
				</div>
				<!--Search form-->

			  <!--Form footer-->
			</div><!--end form-wrapper-->
		</div><!--end row-->
	</div>
{% endblock %}

{% block classPage %}page wide-style{% endblock %}


{% block body %}
	
<script type="text/javascript">
	$(function() {
		fixMinHeight();
	});
</script>
{% endblock %}